set(requires
    esp_wifi)

idf_component_register(SRCS "hello_world_main.c"
                    SRCS "buttonLayer.c"
                    SRCS "AppLayer.c"
                    SRCS "debug.c"
                    SRCS "draw.c"
                    SRCS "beep.c"
                    SRCS "resources.c"
                    SRCS "animation.c"
                    SRCS "menu.c"
                    SRCS "m_main.c"
                    SRCS "buttons.c"
                    SRCS "display.c"
                    SRCS "alarm.c"
                    SRCS "time.c"
                    PRIV_REQUIRES spi_flash
                    PRIV_REQUIRES led
                    PRIV_REQUIRES spi
                    PRIV_REQUIRES oled
                    PRIV_REQUIRES RTC
                    PRIV_REQUIRES pwm
                    PRIV_REQUIRES ESPTIM
                    REQUIRES ${requires} 
                    REQUIRES nvs_flash
                    INCLUDE_DIRS "")





# idf_component_register(SRC_DIRS ${src_dirs} INCLUDE_DIRS ${include_dirs} REQUIRES ${requires})                    
